package demo.Socket.Grass_num_game;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

public class PropertiesUtils {
    public static Properties properties = new Properties();
    static{
        try {
            properties.load(new FileInputStream("work_all//src//demo//Socket//Grass_num_game//AddressPort.properties"));
        /*properties.load
(PropertiesUtils.class.get ("AddressPort.properties").openStream());*/ //properties.load(PropertiesUtils.class.getResourceAsStream("AddressPort.properties")) ;
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}